package com.xf.lastmall.order.api.model;

import com.fasterxml.jackson.annotation.JsonFormat;

import java.io.Serializable;
import java.util.Date;

/**
 * Created by wangzhaoqian on 6/9/17.
 */
public class OrderConsume2ErpEntity implements Serializable {

    private static final long serialVersionUID = 453566874896447532L;

    private String orderId;  //发券订单号对应的是我们自己detail表的子订单号
    private String couponNo;   //券号
    private String templateCode;  //券模板编号

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date useTime;   //核销时间
    private String status;

    //核销店铺编码
    private String merchantCode;

    //核销店铺名称
    private String merchantName;

    //erp核销店铺
    private String erpShopNo;

    public String getErpShopNo() {
        return erpShopNo;
    }

    public void setErpShopNo(String erpShopNo) {
        this.erpShopNo = erpShopNo;
    }

    public String getMerchantCode() {
        return merchantCode;
    }

    public void setMerchantCode(String merchantCode) {
        this.merchantCode = merchantCode;
    }

    public String getMerchantName() {
        return merchantName;
    }

    public void setMerchantName(String merchantName) {
        this.merchantName = merchantName;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getOrderId() {
        return orderId;
    }

    public void setOrderId(String orderId) {
        this.orderId = orderId;
    }

    public String getCouponNo() {
        return couponNo;
    }

    public void setCouponNo(String couponNo) {
        this.couponNo = couponNo;
    }

    public String getTemplateCode() {
        return templateCode;
    }

    public void setTemplateCode(String templateCode) {
        this.templateCode = templateCode;
    }

    public Date getUseTime() {
        return useTime;
    }

    public void setUseTime(Date useTime) {
        this.useTime = useTime;
    }
}
